package com.ruoyi.sjl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 救援任务对象 rescue
 * 
 * @author ruoyi
 * @date 2025-11-13
 */
public class Rescue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id编号 */
    private Integer id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer uid;

    /** 救援类型ID */
    @Excel(name = "救援类型ID")
    private Integer typeId;

    /** 位置 */
    @Excel(name = "位置")
    private String position;

    /** 救援点纬度 */
    @Excel(name = "救援点纬度")
    private Double latitude;

    /** 救援点经度 */
    @Excel(name = "救援点经度")
    private Double longitude;

    /** 求助人 */
    @Excel(name = "求助人")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 求助信息描述 */
    @Excel(name = "求助信息描述")
    private String description;

    /** 救援状态：0待接单，1已派单，2已接单，3处理中，4已完成，5已取消 */
    @Excel(name = "救援状态：0待接单，1已派单，2已接单，3处理中，4已完成，5已取消")
    private Integer status;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Integer deleted;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setUid(Integer uid) 
    {
        this.uid = uid;
    }

    public Integer getUid() 
    {
        return uid;
    }

    public void setTypeId(Integer typeId) 
    {
        this.typeId = typeId;
    }

    public Integer getTypeId() 
    {
        return typeId;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setLatitude(Double latitude) 
    {
        this.latitude = latitude;
    }

    public Double getLatitude() 
    {
        return latitude;
    }

    public void setLongitude(Double longitude) 
    {
        this.longitude = longitude;
    }

    public Double getLongitude() 
    {
        return longitude;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("typeId", getTypeId())
            .append("position", getPosition())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("name", getName())
            .append("phone", getPhone())
            .append("carNum", getCarNum())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("deleted", getDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
